const t = getApp()
Page({
  data: {
    choosed_money:0,
    list:[{
      id:0,
      invest:30,
      give:0,
    },{
      id:1,
      invest:50,
      give:5,
    },{
      id:2,
      invest:100,
      give:20,
    },{
      id:3,
      invest:200,
      give:60,
    },{
      id:4,
      invest:500,
      give:200,
    },{
      id:5,
      invest:1000,
      give:600,
    }],
    navHeight:t.globalData.navHeight,
    title:'充值',
  },
  onLoad: function (options) {
    
  },
  choose_money(e){
    console.log(e.currentTarget.dataset.id);
    this.setData({
      choosed_money:e.currentTarget.dataset.id
    })
  }
})